﻿using System;
using GdNet.Integrations.NHibernate.Mapping;
using GdNet.WebFramework.Domain.System;
using NHibernate.Mapping.ByCode;

namespace GdNet.WebFramework.Mapping.System
{
    public class EntityHistoryMapping : AbstractEntityWithModificationMapping<EntityHistory, Guid>, IEntityMapping
    {
        public EntityHistoryMapping()
            : base(Generators.Guid)
        {
            base.Property(x => x.IsActive);
            base.Property(x => x.Views);
        }
    }
}
